package com.tsystems.school;

import java.util.List;
import java.util.Random;

/**
 * Created by IntelliJ IDEA.
 * User: victorn
 * Date: 8/15/11
 * Time: 12:22 AM
 * To change this template use File | Settings | File Templates.
 */
public class MyAvlTreeTest {

    public static void main(String[] args) {
        MyAvlTree tree = new MyAvlTree();

        Random r = new Random();

        for(int i = 0; i < 10000000; i++)
            tree.put(r.nextInt());

        List<Comparable> l = tree.toList();

        for(Comparable i : l){
            System.out.println(i);
        }

    }
}
